<!doctype html>
<html lang="en">
<head>
<?=set_base();?>
<meta charset="UTF-8">
<title>Dashboard - Admin Template</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/content1.css" />
</head>
<body>
<script src="/static/js/jquery-1.11.1.js"></script> 
<script src="/static/js/plugin/box/box.js"></script>
<script src="js/global.js"></script>
<script src="js/system.js"></script>
<div id="wrapper">
    <div id="content">
        <div id="box">
        	<h3>系统配置</h3>
            <form id="form" class="article_form">
                <?php if($method=='article'){?>
                <fieldset>
                    <legend>文章管理系统</legend>
                    <table width="100%" cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td width="10%" height="30" align="right" class="b">文章排序：</td>
                            <td width="90%" height="30" align="left">
                                <input type="radio" id="order_article_0" name="isOrder" value="0" <?=$configuration['isOrder']=='0'?'checked':''?>> <label for="order_article_0">关闭</label>&nbsp;&nbsp;
                                <input type="radio" id="order_article_1" name="isOrder" value="1" <?=($configuration['isOrder']=='1' || $configuration['isOrder']=='')?'checked':''?>> <label for="order_article_1">开启</label>
                            </td>
                        </tr>
                        <tr>
                            <td width="10%" height="30" align="right" class="b">图片上传：</td>
                            <td width="90%" height="30" align="left">
                                <input type="radio" id="article_upload_0" name="isUpload" value="0" <?=$configuration['isUpload']=='0'?'checked':''?>> <label for="article_upload_0">关闭</label>&nbsp;&nbsp;
                                <input type="radio" id="article_upload_1" name="isUpload" value="1" <?=($configuration['isUpload']=='1' || $configuration['isUpload']=='')?'checked':''?>> <label for="article_upload_1">开启</label>
                            </td>
                        </tr>
                        <tr id="thumb_img">
                            <td width="10%" height="30" align="right" class="b">缩略图比例：</td>
                            <td width="90%" height="30" align="left">
                                <input name="thumb_img" class="form_input_80per" maxlength="20" value="<?=$configuration['thumb_img']?>" type="text" />
                                多个比例用'|'隔开：100X150|200X250
                            </td>
                        </tr>
                    </table>
                </fieldset>
                <?php }?>
                <div align="center">
					<input id="button1" class="form_btn_120 btn_bg" type="button" value=" 提交 " />
                    <input id="button2" class="form_btn_120 btn_bg" type="button" value=" 返回 " onclick="window.location.href='<?=base_url('system')?>'" />
                    <input type="hidden" name="method_action" value="<?=$method?>">
                </div>
        	</form>
        </div>
    </div>
</div>
</body>
</html>
